Adaptive filter model for motor veichle sensor signals

ABSTRACT

A sensor system for combining first and second sensor signals, and generating a physical parameter values dependent on said sensor signals used in autocalibrating sensors improving the performance and quality of existing sensor signals and virtual sensors realising new sensors by combining and integrating in adaptive filter models sensor signals representing same or different of physical parameters.

FIELD OF THE INVENTION

[0001] The present invention relates generally to a system for integrating sensors of physical parameters, and more specifically to a system for sensor fusion in a wheeled vehicle.

BACKGROUND OF THE INVENTION

[0002] In the current development within vehicle technology there is an increasing interest in enhancing the safety and the manoeuvrability of vehicles by means of a number of support systems. Examples of well-known support systems in wheeled vehicles are anti-lock brake systems (ABS), traction control systems and tire pressure estimation systems. This kind of systems are usually provided with more or less complex sensors such as gyroscopes and wheel speed sensors to gather information about physical parameters affecting the vehicle.

[0003] Along with the development of technology there is an increasing demand for safety enhancing equipment in standard cars, something which is not always compatible with an acceptable price level on this segment of cars. There is therefore a need for developing cost efficient sensor equipment while improving the usability of the sensor signals.

[0004] An important parameter for automatic support systems, such as dynamic stability traction control (DSTC), is the course direction of the vehicle. The course is usually expressed in terms of the yaw angle, which is the direction of motion relating to a longitudinal axis of the vehicle, and the yaw rate, which is the angular velocity of the rotation of the vehicle around its centre of gravity in the horizontal plane.

[0005] In a simple approach, the yaw rate is independently calculated from different sensors in the vehicle, such as a gyro sensor, ABS sensors, an accelerometer sensor or a steering wheel angle sensor, and thus resulting in different values of the yaw rate. These values have been compared and voting has been used to decide which information to use.

[0006] Sensor signals generally comprise a parameter value and an offset from the true parameter value. The offsets are due to imperfect knowledge of the parameters and their dependencies, and the offsets vary in time due to for example temperature changes and wear. An accurate estimation of the offsets is crucial to the ability of accurately estimating the parameter value itself. The traditional way to improve sensor signals is to use a low pass filter in order to get rid of high frequency variations, and sometimes an offset can be estimated using long term averaging. Averaging has its shortcomings. For example in yaw rate estimation, a systematic circular driving will give the same effect as an offset. Furthermore, if two sensor signals measuring the same physical parameter are averaged, an improved estimate of the parameter may be obtained but it does not help in estimating the offset.

[0007] The perhaps most well known support parameter for the driver of a wheeled vehicle is the velocity. The vehicle velocity may be estimated based on the angular velocity of the driven wheel, however with an inaccuracy due to wheel slip, wheel skid or varying tire diameter. The standard approach to compute velocity is to use the wheel speed signals from the wheel speed sensors and possibly averaging over left and right wheels. To avoid errors due to wheel slip the non-driven wheels are preferably used. This approach has however. shortcomings during braking when the wheels are locked and during wheel spin on 4 wheel-driven (WD) vehicles. For 4 WD vehicles an additional problem is that even during normal driving there will be a small positive velocity offset due to the wheel slip.

THE STATE OF THE ART

[0008] An example of the state of the art sensor utilisation is shown in U.S. Pat. No. 5,878,357 to Sivashankar et al. This piece of prior art is directed to vehicle yaw rate estimation by a combination of a kinematic yaw rate estimation and a dynamic yaw rate estimation using accelerometers. A kinematic yaw rate estimate is weighted with a vehicle lateral acceleration at the centre of gravity, and steering angle and vehicle forward speed are incorporated into a Kalman filter for achieving a dynamic vehicle yaw rate estimate. This system uses relatively low-cost sensor components but is sensitive to difficult driving cases and errors in the wheel radii, for example due to varying tire pressure. Another drawback is that it requires wiring through the whole car in order to collect sensor signals from an accelerometer at the front as well as the rear of the car.

[0009] Another example of prior art directed to yaw rate measuring is found in U.S. Pat. No. 5,274,576 to Williams. This prior art uses a solid state rate gyrometer, the accuracy of which is known to depend on the ambient temperature. Measuring means provides a velocity signal, a steering angle and a lateral acceleration signal, which are all used in a correction means in order to remove bias errors from the output signal of the gyrometer. It is noted that this system is basically a low pass filter only compensating for long term bias errors.

[0010] The U.S. Pat. No. 5,860,480 to Jayaraman et al shows a method for determining pitch and ground speed of an earth moving machine, and is directed to estimating certain operating parameters. This prior art seeks to overcome problems of noise and bias in sensor signals. Using a sensor measurement model, a machine process model and Kalman filter update equations the pitch, the pitch rate and ground speed are estimated as a function of sensed pitch and ground speed signals.

[0011] The European Patent No. EP 0 595 681 A1 to Regie Nationale des Usines Renault shows a method for determining the speed of a vehicle by processing sensed wheel angular velocity in a Kalman filter.

THE OBJECT OF THE INVENTION

[0012] The general problem to be solved by the present invention is to improve the usability of signals from existing sensors measuring a first physical parameter.

[0013] Aspects of the problem are:

[0014] to improve the accuracy of such sensors signals;

[0015] to achieve a virtual sensor signal for a second physical parameter dependent on said first physical parameter;

[0016] to use and combine sensor information from different available sources in order to achieve improved parameter estimates or virtual sensor signals;

[0017] to accurately estimate and eliminate offsets from parameter values in the sensor signals.

[0018] A further and more specific aspect of the problem is to provide an improved computation of a course indication in the shape of yaw angle and yaw rate for a wheeled vehicle.

[0019] Yet another specific aspect of the problem is to provide an improved estimation of the velocity of a wheeled vehicle.

[0020] A further aspect of the problem is to compute the actual fuel level and instantaneous fuel consumption for any engine, where offset distorted measurements of the same quantities are available.

[0021] Yet another specific aspect is to compute the roll angle of a vehicle, in particular for motorcycles.

SUMMARY OF THE INVENTION

[0022] The object of the invention is achieved by processing a plurality of sensor signals in an adaptive or recursive filter thereby producing an optimized estimation of a first

[0023] The European Patent No. EP 0 595 681 A1 to Regie Nationale Des Usines Renault shows a method for determining the speed of a vehicle by processing sensed wheel angular velocity in a Kalman Filter. The Kalman filter is based on a model that depends on an absolute reference, and more specifically in the assumption that one of the sensor signals, i.e. the velocity signal, is free from errors, whereas an offset error is modelled for the other signal, i.e. the acceleration signal. In case of errors in the assumedly error free reference signals, this method will result in erroneous parameter signal estimation. physical parameter detected by said sensors. In accordance with the invention, a particularly advantageous recursive filter is provided by a Kalman filter. In the invention, the Kalman filter is used as a framework for processing related sensor signals and estimating their respective offsets. These related sensor signals do not necessarily have to measure the same physical parameter, and in embodiments of the invention they usually represent different parameters. Besides giving an accurate estimate of the offset, the Kalman filter also has the advantageous possibility of attenuating noise.

[0024] The invention achieves an increase of performance in existing sensors by enhancing the sensor signal. Furthermore, new information is found by combining and processing sensor signals and associate the result with other physical or operating parameters than those directly related with the sensors.

[0025] According to an aspect of the invention, the accuracy of sensor signals are highly improved by combining the signals of a plurality of existing or simple add-on sensors in the recursive filtering means.

[0026] According to another aspect of the invention, a virtual sensor signal for a second physical parameter dependent on one or more first physical parameters is generated by combining sensors of different type sensing different first physical parameters by means of combined sensor signals from real sensors. In other terms, all available information from sensors in the vehicle is systematically fused in a recursive filter, preferably a Kalman filter.

[0027] When applying the sensor fusion in accordance with the invention in computing a yaw rate value, at least two sensor signals are input into a Kalman filter in order to minimize the error in an estimate signal representing the yaw rate value. In a preferred embodiment, these sensors signals are a yaw rate signal taken from a gyro, wheel speed signals taken from an ABS equipment, possibly also a lateral yaw rate signal computed from a lateral accelerometer and steering wheel angle signals. An accurate yaw rate value can for example be applied in lateral slip computation, which is used in stability systems and friction estimation. Furthermore, there are effects of the second order, for example an estimation of absolute tire radii and consequently also absolute velocity. Moreover, the filtering process provides computations of differences in tire radii as well as signals for diagnosis of faults in the respective sensors. The diagnosis signals may be used to warn the driver or be stored in a fault report to be used in connection with service of the vehicle.

[0028] An accurate estimation of vehicle velocity is achieved in accordance with an embodiment of the invention wherein wheel speed sensor signals are combined with an accelerometer signal and processed in a filtering process in accordance with the above description. In accordance with the invention, the velocity is accurately computed even during braking and when the wheels are locked. For a 4 WD vehicle or when non-driven wheel speed signals are not available, the invention compensates for wheel slip and in addition to velocity also gives acceleration information. Other parameters that are derived in embodiments of the invention are slip-offset e.g. usable for tire pressure estimation in 4 WD vehicles, slip-slope e.g. usable for tire friction estimation in 2 WD and 4 WD vehicles, acceleration offset and the wheel velocity in the drive direction. These embodiments as well as detection of aquaplaning are examples of application of theory for the longitudinal stiffness of tires.

[0029] The slip of a vehicle wheel is a function of the momentum applied on a wheel, wherein the slip-offset is a constant term of the function and the slip-slope is the constant of proportionality between the applied momentum and the slip.

[0030] There are different further aspects that are relevant to different kinds of vehicles. Yaw rate and absolute velocity estimation is perhaps most appropriate for cars and trucks. For motorcycles, the determination of roll angle is important for an ABS and spin control, since less tire forcess can be utilised in cornering. Also, headlight control can be implemented dependent on roll angle. Roll angle estimation is furthermore crucial for roll-over detection, used in some airbag control units. Similarly to yaw rate estimation in cars, this can be done by using wheel speed and a lateral-vertical accelerometer pair. Such a roll angle estimation carried out without using a roll gyro is an example of a virtual sensor, where only indirect measurements are used to compute the physical quantity. It is here crucial to find and compensate for the accelerometer offsets, which is conveniently achieved with the aid of the invention. As a further support, a roll gyro and longitudinal accelerometer can be incorporated in the algorithm. Another example of great practical importance is to detect aqua-planing quickly, for cars, trucks and motorcycles.

[0031] Other aspects and embodiments of the invention are disclosed in the description of detailed embodiments and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The invention will now be further described by means of exemplifying embodiments in conjunction with the accompanying drawings, in which:

[0033]FIG. 1A-1D show schematic block diagrams embodiments of the invention;

[0034]FIG. 2A shows schematically an embodiment of the invention applied in yaw rate computation;

[0035]FIG. 2B shows the invention applied in velocity computation;

[0036]FIG. 2C shows the invention applied in fuel consumption computation;

[0037]FIG. 2D shows the invention applied in slip slope computation;

[0038]FIG. 3A shows an embodiment of an autocalibrating sensor in accordance with the invention;

[0039]FIG. 3B shows a schematic drawing which defines the geometric relations of a four wheeled vehicle; and

[0040]FIG. 4 shows a plot diagram of an estimated offset in accordance with the invention from an experimental test drive;

[0041]FIGS. 5A and 5B show coordinate systems and sensor configuration in a motorcycle;

[0042]FIG. 6 shows an embodiment of a virtual sensor for a roll angle indicator in a motorcycle;

[0043]FIG. 7 shows wheel geometry; and

[0044]FIG. 8 shows a schematic block diagram of a virtual sensor for an aqua planning detector in accordance with an embodiment of the invention.

DETAILED DESCRIPTION OF EMBODIMENTS

[0045] The invention is based on the following general idea of sensor fusion, which is here described by way of example in terms of matrix algebra. This example relates to two sensors detecting the same physical parameter, but in different embodiments of the invention signals from sensors detecting different parameters may be integrated.

[0046] Two different sensors sensing the same varying physical parameter give separate measurements yi(t) of a the parameter x, where each measurement has an offset bi with an offset scaling ci(t) according to a known function of time. The measurements can be expressed algebraically as the equations:

y 1(t)=x(t)+c 1(t)b 1   (1)

y 2(1)=x(t)+c 2(t)b 2.   (2)

[0047] These two equations have three unknowns and is therefore insoluble, and the offsets cannot be directly eliminated.

[0048] When two measurements y1(1),y2(1) and y1(2),y2(2) are available, there are two more equations and only one more unknown, i.e. four equations and four unknowns. Thus, the offsets and the variable parameter values x(1),x(2) can be solved under the condition that there is no linear dependency in data In this example, the linear independency condition is:

c 1(1)/c 1(2)≠c 2(1)/c 2(2).   (3)

[0049] If, for example, c1 is constant and c2(t) is the velocity vx(t), linear independency occurs when the velocity has changed between two measurements. This leads to observability and identifiability. Typically, measurements would be carried out by sensors delivering a continuous or discrete sensor output signal which is sampled into a digital data processing system. The samples are collected in a per se known manner with a predetermined sampling frequency, thus giving rise to a corresponding number of observations in the shape of equations to process.

[0050] In practice there is a measurement noise added to each of the observations. In order to eliminate the noise, certain embodiments of the invention are devised to collect a number of observation samples large enough to constitute an overdetermined equation system and to compute the least square solution.

[0051] The invention also makes use of the a priori knowledge that the parameter variable x is a correlated sequence that cannot change arbitrarily fast between two samples. This property of the parameter variable x is used in a recursive filter, preferably a Kalman filter, into which the sampled observations input.

[0052] General Setting

[0053] The invention is generally implemented in a digital or analogue sensor control system of a car. Such a system typically includes wired, optical or wireless data communication links for communicating the output of a sensor to a control unit. The control unit is provided with a data processor, which in preferred embodiments is a digital processor having a data storage memory and signal input and output ports. The digital processor is programmed with a computer program product being provided with means for directing the processor to perform the functions and the steps of the inventive method. In an analogue implementation of the inventive concept, the control unit is provided with circuit elements specifically devised to perform the functions of the inventive method.

[0054]FIG. 1 shows a schematic diagram showing the functional blocks of the invention. Sensors or sensor signal suppliers 102,104,106,108, capable of generating sensor signals S1, S2, S3, S4 dependent on or representing a respective physical parameter, are coupled to a sensor integration unit 110. For example, in one embodiment the ABS is used as sensor signal supplier 102, the sensor 104 is a gyro, the sensor 106 is one or more accelerometers and the engine is a sensor signal supplier 108. The sensor integration unit comprises a recursive filter, preferably a Kalman filter, devised to provide an estimate of a predetermined physical parameter, and outputs a physical parameter signal PSS1 to a first sensor signal processing unit, more specifically a self calibrating sensor, here called a virtual sensor signal processing unit 112. The virtual sensor signal processing unit 112 is devised to compute one or more virtual sensor signals VSS based on the physical parameter signal PSS1. The computed virtual sensor signal is for example the yaw rate Ψ(dot), the velocity vx of the vehicle and the fuel consumption d Vfuel/dt. The virtual sensor signal is then communicated to one or more control units 118, for example devised for controlling an ABS, a traction control system, a dynamic stability traction control system (DSTC) or an adaptive cruise control system (ACC). A roll angle detector is an example of both a virtual sensor when realised without a roll gyro and a self-calibrating sensor realised in conjunction with a roll gyro. The roll angle estimate can be used in roll-over detection in cars and for improving ABS and anti-spin control and enabling headlight control in motorcycles. With the help of these virtual signals, aqua-planing can be detected with high reliability.

[0055] In the embodiment shown in FIG. 1, the sensor integration unit 110 outputs a second physical parameter signal PSS2 to a second sensor signal processing unit, which perhaps more properly constitutes a virtual sensor but in this figure is called an intelligent sensor processing unit 114, devised to compute a complementary, intelligently computed sensor signal ISS used in a driver information processing unit 120. Such intelligent sensor signals may for example represent friction and tire conditions such as pressure or vibration. The sensor integration unit 110 is also devised to deliver a third physical sensor signal PSS3 communicated to third sensor signal processing unit in the shape of a diagnosis signal processing unit 116, which outputs a diagnose signal DSS to the driver information processing unit 120. The driver information processing unit in its turn outputs signals for example indicating friction conditions, tire pressure or faults in predetermined car components. Furthermore, a fourth physical parameter signal PSS4 may be delivered by the sensor integration unit to a fourth sensor signal processing unit, namely a vehicle control signal processing unit 117 devised to generate and deliver suitable vehicle control signals VCS for example to vehicle operating apparatuses such as engine or brake control.

[0056] Self-Calibrating Sensor

[0057]FIG. 1B shows schematically the structure of a self-calibrating sensor in accordance with one embodiment of the invention, as explained in connection with equations 1-3. Two sensor signals y1 and y2 representing a physical parameter are input into an adaptive filter 122 deviced to estimate in accordance with a predeterernined model and deliver as as output signal offsets b1(hat) and b2(hat). The sensor signals y1,y2 are also input into an observability evaluation functionality together with possible external info 128, the evaluation unit being deviced to output an enable signal 125 to the adaptive filter 122 when the conditions allow observability. The offset signal b1(hat) is joined with the sensor signal y1 in a substraction stage 126 where the value of the offset b1(hat) is substracted from the sensor signal value to produce a value or a quantity of a parameter X.

[0058]FIG. 1C shows a general flow chart for the steps in a sensor fusion system, such as a self calibrating sensor in accordance with the invention, comprising the following steps:

[0059] Initializing the system;

[0060] Receiving as an input the next measurement or sample from the sensors;

[0061] Checking observability of parameter;

[0062] If observability is OK then updating offset estimates;

[0063] After uppdating of offset estimates or if observability is not OK then compensate sensor signals with the offset output from the adaptive filter.

[0064] Virtual Sensor

[0065]FIG. 1D shows schematically an example of a virtual sensor comprising an adaptive filter 136 based on a predetermined model integrating model parameters values representing first and second different physical or operating parameters. First and second sensor signals y1 and y2 representing said first and second different parameters are input into the filter 136 and into an observability evaluation unit 138. The observability evaluation unit 138 checks whether observability for the physical parameters is fulfilled and if so outputs an enable signal 139 to the adaptive filter 136. In enabled condition, the adaptive filter 136 calculates and outputs an estimate of a physical quantity or value X(hat) together with an estimate of offset values b1(hat) and b2(hat). The physical quantity X(hat) is the value of a physical model X as a function f(y1,y2) dependent on the sensor signals y1 and y2.

[0066] Yaw Rate Computation

[0067] One embodiment of the invention is directed to achieve an adaptive high precision yaw rate sensor by combining sensor signals from a gyro and from wheel angular velocity sensors of an ABS and by computing an accurate yaw rate by means of an adaptive filter. Specific embodiments may comprise further sensor signals, for example the signals from a lateral accelerometer, in order to further enhance the performance of the sensor. FIG. 2 shows schematically a yaw rate signal {dot over (ψ)} gyro 202 from a gyro and wheel angular speed signals 204 from an ABS being input in a filter 206 in accordance with the invention. The filter 206 outputs a computed yaw angle ψ, yaw rate {dot over (ψ)} 208 as well as yaw rate offset values.

[0068]FIG. 3A shows shematically a more detailed autocalibrating sensor for determining yaw rate, wherein a yaw rate signal {dot over (ψ)} from a gyro and angular velocity signals ωi for the wheels are is input into an adaptive filter 301 as well as into an observability evaluation unit 302. The evaluation unit 302 generates and inputs into the adaptive filter an enable signal 304 when the sensed parameters are observable. The adaptive filter 301 generates as an output a yaw rate offset value δgyro representing the offset of the yaw rate signal from the gyro. The yaw rate {dot over (ψ)}0 and the offset value δgyro are joined in a summation unit 303 producing a {dot over (ψ)}-improved as an output.

[0069]FIG. 3B shows a simple drawing of a four wheeled vehicle, which drawing defines the geometric relations for the wheel velocities during cornering used to compute yaw rate from wheel speed signals. More specifically, the relations are used to compute the curve radius, where R is defined as the distance to the centre of the rear wheel axle from a predetermined point O, L is the lateral distance between the wheels on one axle and B is the longitudinal distance between front and rear wheel axle. The wheels are in this example denoted as rl for rear left, rr for rear right, fl for front left and fr for front right. A coordinate system indicating the x,y, and z-directions is also drawn in FIG. 3B. For the sake of clarity of the drawing, the coordinate system is drawn in front of the vehicle, but is in reality typically positioned in the centre of gravity of the vehicle.

[0070] For the sake of simplicity of the explanation of the invention, this exemplifying embodiment is based on relations assuming there is no lateral movement. In the relations: $\begin{matrix} {{\overset{.}{\psi} = {\frac{v_{x}}{R} = {v_{x}R^{- 1}}}}{a_{y} = {\frac{v_{x}^{2}}{R} = {{v_{x}^{2}R^{- 1}} = {v_{x}\overset{.}{\psi}}}}}} & {(4),(5)} \end{matrix}$

[0071] {dot over (ψ)} is the yaw rate from a gyro;

[0072] vx is the velocity of the vehicle in the x-direction;

[0073] ay is the acceleration in the y-direction. The curve radius is computed according to the following relation, where R is defined as the distance to the center of the rear wheel axle, $\begin{matrix} {\frac{v_{rr}}{v_{rl}} = {\frac{R_{rr}}{R_{rl}} = \frac{R + {L/2}}{R - {L/2}}}} & (6) \end{matrix}$

[0074] The angular wheel velocities ω for each of the respective wheels are received from an ABS and the inverse R⁻¹ of R is solved in order to avoid numerical problems in certain driving cases, e.g. driving straight ahead. This results in $\begin{matrix} {R^{- 1} = {{\frac{2}{L}\frac{\frac{v_{rl}}{v_{rr}} - 1}{\frac{v_{rl}}{v_{rr}} + 1}} = {\frac{2}{L}\frac{{\frac{\omega_{rl}}{\omega_{rr}}\frac{r_{rl}}{r_{rr}}} - 1}{{\frac{\omega_{rl}}{\omega_{rr}}\frac{r_{rl}}{r_{rr}}} + 1}}}} & (7) \end{matrix}$

[0075] where the wheel radius is denoted r.

[0076] The wheel radii ratio is subject to an offset: $\begin{matrix} {\frac{r_{rl}}{r_{rr}} \equiv {1 + \delta_{ABS}}} & (8) \end{matrix}$

[0077] The influence of the offset on the denominator is negligible, so according to embodiments of the invention the following expression is used for inverse curve radius: $\begin{matrix} \begin{matrix} {R^{- 1} = {\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\left( {{\frac{\omega_{rl}}{\omega_{rr}}\left( {1 + \delta_{ABS}} \right)} - 1} \right)}} \\ {= {R_{m}^{- 1} + {\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\frac{\omega_{rl}}{\omega_{rr}}\delta_{ABS}}}} \end{matrix} & (9) \end{matrix}$

[0078] wherein the computable quantity $\begin{matrix} {R_{m}^{- 1} = {\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\left( {\frac{\omega_{rl}}{\omega_{rr}} - 1} \right)}} & (10) \end{matrix}$

[0079] is used for the inverse curve radius.

[0080] Finally, the velocity at the center of the rear wheel axle is $\begin{matrix} {v_{x} = {\frac{\omega_{rl} + \omega_{rr}}{2}r}} & (11) \end{matrix}$

[0081] where r denotes the nominal wheel radius.

[0082] In a practical implementation of this embodiment, the sensor measurements are:

[0083] y₁(t) from a yaw rate sensor, i.e. gyro signal;

[0084] y₂(t)=v_(x)R_(m) ⁻¹, from ABS sensors, R_(m) ⁻¹ is computed as above; and possibly

[0085] y₃(t) from a lateral acceleration sensor.

[0086] It should be noted that when a lateral accelerometer is used, this is preferrably supported by a vertical accelerometer to compensate for non-horizontal movements of the vehicle.

[0087] All these sensor measurements are subject to an offset and measurement noise given by the relations: $\begin{matrix} {{{y_{1}(t)} = {{\overset{.}{\psi}(t)} + \delta_{YR} + {e_{1}(t)}}}\begin{matrix} {{y_{2}(t)} = {{v_{x}R_{m}^{- 1}} + {e_{2}(t)}}} \\ {= {{\overset{.}{\psi}(t)} + {v_{x}\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\frac{\omega_{rl}}{\omega_{rr}}\delta_{ABS}} + {e_{2}(t)}}} \end{matrix}{{y_{3}(t)} = {{v_{x}{\overset{.}{\psi}(t)}} + \delta_{ACC} + {e_{3}(t)}}}} & (12) \end{matrix}$

[0088] where δABS is an offset that depends on relative tire radius between left and right wheels.

[0089] As has been described above, the measurement signals are treated in a filter. A general filter description is given in the following section. In one embodiment, the offset is estimated by means of the least squares method. So, eliminating the yaw rate from the first two measurements yields a linear regression in the two offsets:

{overscore (y)}( t)=Φ^(T)(t){overscore (δ)}+{overscore (e)}( t)   (13)

[0090] where: $\begin{matrix} {{{\overset{\_}{y}(t)} = {{y_{1}(t)} - {y_{2}(t)}}}{{\phi (t)} = \left( {1,{v_{x}\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\frac{\omega_{rl}}{\omega_{rr}}}} \right)^{T}}{\overset{\_}{\delta} = \left( {\delta_{YR},\delta_{ABS}} \right)^{T}}{{\overset{\_}{e}(t)} = {{e_{1}(t)} - {e_{2}(t)}}}} & (14) \end{matrix}$

[0091] Using also an accelerometer, the regression quantities are $\begin{matrix} {{{\overset{\_}{y}(t)} = {{y_{1}(t)} - \frac{y_{3}(t)}{v_{x}}}}{{\phi (t)} = \left( {1,\frac{1}{v_{x}}} \right)^{T}}{\overset{\_}{\delta} = \left( {\delta_{YR},\delta_{ACC}} \right)^{T}}{{\overset{\_}{e}(t)} = {{e_{1}(t)} - \frac{e_{2}(t)}{v_{x}}}}} & (15) \end{matrix}$

[0092] The least squares estimate is computed by $\begin{matrix} {\overset{\Cap}{\delta} = {\left( {\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad {{\phi (t)}{\phi^{T}(t)}}}} \right)^{- 1}\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad {{\phi (t)}{y(t)}}}}} & (16) \end{matrix}$

[0093] The important question of identifiability, that is, under what conditions are the offsets possible to estimate, is answered by studying the rank of the matrix to be inverted in the LS solution. For the accelerometer sensor, the matrix is given by: $\begin{matrix} {{\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad {{\phi (t)}{\phi^{T}(t)}}}} = \begin{pmatrix} 1 & {\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad \frac{1}{v_{x}(t)}}} \\ {\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad \frac{1}{v_{x}(t)}}} & {\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad \frac{1}{{v_{x}(t)}^{2}}}} \end{pmatrix}} & (17) \end{matrix}$

[0094] In short, this matrix has full rank if and only if the velocity changes during the time horizon. Furthermore, the more variation, the better estimate. Similarly, the offsets are identifiable from yaw rate and ABS sensors if the velocity or the curve radius changes anytime. In accordance with the invention, the offsets are estimated adaptively by recursive least squares (RLS) algorithm, least mean square (LMS) or a Kalman filter.

[0095] In real time implementations of the invention, the Kalman filter is preferred and improves the performance over RLS in the following way:

[0096] Firstly, a model for the variation of the true yaw rate can be incorporated in the Kalman filter. For instance, the yaw rate may be limited to 5 Hz maximum frequency variation.

[0097] Secondly, different time-variations of the sensor offsets can be used. For instance, temperature can influence the gyro offset variation, a cold start can make the filter forget more of the gyro offset than the ABS offset.

[0098] The Kalman filter is completely specified by a state space equation of the form

x(t+1)=Ax(t)+Bv(t)

y(t)=Cx(t)+e(t)   (18)

[0099] where the covariance matrices of v(t) and e(t) are denoted Q and R, respectively. The unknown quantities in the state vector x(t) are estimated by a recursion

{circumflex over (x)}( t+1)=A{circumflex over (x)}( t)+K(t;A,B,C,Q,R)(y(t)−C{overscore (x)}( t))   (19)

[0100] where the filter gain K(t;A,B,C,Q,R) is given by the Kalman filter equations. Thus, the problem when designing an implementation is to setup the state space model.

[0101] An exemplifying embodiment uses the state vector: $\begin{matrix} {{x(t)} = \begin{pmatrix} {\overset{.}{\psi}(t)} \\ {\overset{¨}{\psi}(t)} \\ \delta_{YR} \\ \delta_{ABS} \end{pmatrix}} & (20) \end{matrix}$

[0102] and a continuous time state space model is: $\begin{matrix} {{\overset{.}{x}(t)} = {{\begin{pmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{pmatrix}{x(t)}} + {\begin{pmatrix} 0 \\ 1 \\ 0 \\ 0 \end{pmatrix}{v(t)}}}} & \left( {21a} \right) \\ {{y(t)} = {{\begin{pmatrix} 1 & 0 & 1 & 0 \\ 1 & 0 & 0 & {v_{x}\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\frac{\omega_{rl}}{\omega_{rr}}} \end{pmatrix}{x(t)}} + {e(t)}}} & \left( {21b} \right) \end{matrix}$

[0103] It is here assumed that there is an unknown input v(t) that affects the yaw acceleration, which is a common model for motion models, basically motivated by Newton's law F=ma.

[0104] A discrete time state space model: $\begin{matrix} \begin{matrix} {{x\left( {t + 1} \right)} = {{\begin{pmatrix} 1 & T_{s} & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}{x(t)}} + {\begin{pmatrix} {T_{s}^{2}/2} \\ T_{s} \\ 0 \\ 0 \end{pmatrix}{v(t)}}}} \\ {{y(t)} = {{\begin{pmatrix} 1 & 0 & 1 & 0 \\ 1 & 0 & 0 & {v_{x}\frac{1}{L}\frac{2}{\frac{\omega_{rl}}{\omega_{rr}} + 1}\frac{\omega_{rl}}{\omega_{rr}}} \end{pmatrix}{x(t)}} + {e(t)}}} \end{matrix} & (22) \end{matrix}$

[0105] is derived and is used by the Kalman filter.

[0106] Embodiments of the invention integrating information from wheel speed signals and gyro are thus capable to give accurate yaw angle and yaw rate measurements where the gyro offset and relative tire radii differences are estimated and compensated for. As an alternative, or further support, to ABS, one or several lateral accelerometers can be used to support the yaw rate sensor with a further yaw rate dependent sensor signal.

[0107] Simulations and experiments show that the accuracy in yaw rate, not regarding the offsets, is better than using any of the sensor types separately. FIG. 4 shows a plotted diagram 401 of a Kalman filter estimated gyro offset 403 compared with a very exact offline adjusted offset 402, the diagram having the time in seconds on the x-axis and gyro offset in rad/s on the y-axis. The diagram of FIG. 4 is a registration from an experimental test drive and shows that the Kalman filter estimation after a short transitional period converges with the offline adjusted offset within a margin of a few percentages of offset scale units.

[0108] A further advantage with the inventive concept is that the relative difference in wheel radii on non-driven right and left wheels can be very accurately estimated, which is advantageously used for tire pressure indication. In different embodiments the Kalman filter is used as a combined parameter estimator for the offset as well as a filter for yaw rate. In an alternative embodiment, an adaptive filter is used to estimate the offset parameters. A further effect of the invention is that it gives support for diagnosis of faults in gyro and accelerometer.

[0109] In a stepwise description of the embodiment for yaw rate estimation, the inventive method comprises the following steps:

[0110] (1) Collecting measurements from

[0111] (a) a yaw rate gyro

[0112] (b) ABS Sensors

[0113] (c) possibly a lateral accelerometer

[0114] (d) possibly wheel steering angle sensor

[0115] (2) Preprocessing and filtering of raw sensordata

[0116] 1 Scaling of sensor inputs to physical constants

yawrate=nom.scale_factor_gyro*rawinputgyro−nom.offset_gyro.

[0117] 2 Low-pass filtering of yaw rate to reduce quantization and noise error effects for instance averaging over a few samples.

[0118] 3 Rotational synchronization of cog stamps to avoid cog deformity error effects i.e. calculate wheel angular velocity by using a full revolution of the wheel.

[0119] 4 Similar treatment of sensors (c) and (d) to reduce known error effects for instance low-pass filtering.

[0120] 5 Performing simple diagnosis on sensors to take care of sensor built-in diagnosis functions for instance sensors using a zero level voltage to indicate internal failure.

[0121] (3) Calculating filter inputs and parameters in error model

[0122] 1 Calculate the inverse curve radii estimate from front axle wheelage

[0123] 2 Calculate the inverse curve radii estimate from rear axle wheelage (with indices changed to wfl and wfr)

[0124] 3 Calculate the vehicle velocity estimate from ABS sensors

[0125] 4 Calculate the yaw rate estimate from front and rear wheelage

[0126] 5 Calculate the wheel radii offset error propagation function for rear axle

[0127] 6 Calculate the wheel radii offset error propagation function for front axle

[0128] (4) Examine data quality by given norms to produce statistical matrices for Kalman Filtering, for instance:     1 Low velocity increases noise and other errors in yaw     rate from ABS sensors estimated       if (velocity_estimate < LOW_LEVEL)         Increase values in Kalman measurement covariance matrix R     2 Standstill car assures yaw rate to be exactly zero       if (velocity_estimate == ABSOLUTE_ZERO)         Decrease values in Kalman measurement covariance matrix R

[0129] (5) Applying the Kalman Filter equations

[0130] 1 Time update of Kalman Filter

xhat=F*xhat;

Phat=F*Phat*F′+G*Q*G′;

[0131] 2 Measurement update of Kalman Filter

K=Phat*H′*inv(H*Phat*H′+R);

e=y−H*xhat;

xhat=xhat+K*e;

Phat=Phat−K*H*Phat′;

Phat=0.5*(Phat+Phat′);

[0132] Where xhat is the current state estimate and Phat is the current Kalman error covariance matrix, y is current measurement, H is measurement matrix, F is state space model update matrix and G is noise update matrix.

[0133] (6) Output of yaw rate and offset estimates

[0134] 1 Provide a fast yaw rate which is the current measured low-pass filtered yaw rate minus the estimated offset to be used by for instance time-critical control systems.

[0135] 2 Provide a filtered yaw rate which is the current yaw rate state estimate of the Kalman Filter to be used by for instance navigation systems.

[0136] 3 Provide relative wheel radii between left and right wheels on rear and front wheelage to be used for instance by tire pressure estimation systems.

[0137] 4 Provide the rate gyro offset estimate to be used in diagnosis functions.

[0138] Velocity Computation

[0139] One embodiment of the invention is concerned with applying the invention for velocity computation, or more generally expressed longitudinal motion computation based on standard sensors of a vehicle. In accordance with the invention, a sensor signal from an accelerometer ax is integrated with a wheel angular velocity signal ω for example from an ABS in a sensor signal integration unit 218. The sensor signal integration unit comprises as explained above, a filtering process, and outputs a computed velocity signal vx 220 and a computed acceleration signal ax 222. As described above, an accelerometer sensing acceleration in the horizontal plane is preferably combined with a vertical accelerometer for compensation for vertical motion. Since this embodiment uses an accelerometer as a complement to the wheel speed signals, the velocity can be computed after locking the wheels when braking.

[0140] The basic equations upon which the computation is based are similar to those described above in connection with the yaw rate computation. Therefore, only the sensor signals to be fused and their characteristics are shown here. Wheel angular speed signals ω are received from an ABS and are transformed to a scaled velocities at selected positions in the car. The first sensor signal from the ABS is described by: $\begin{matrix} {{y_{1}(t)} = {{{v_{x}(t)}\frac{1 + {k^{- 1}{\mu (t)}} + \delta}{r}} + {e_{1}(t)}}} & (23) \end{matrix}$

[0141] wherein y1 is the angular velocity of a driving wheel;

[0142] vx is the absolute velocity of the wheel;

[0143] r is the wheel radius;

[0144] k is the slip-slope;

[0145] δ is the slip offset; and

[0146] μ is the wheel momentum.

[0147] The offset $\begin{matrix} \frac{1 + {k^{- 1}{\mu (t)}} + \delta}{r} & (24) \end{matrix}$

[0148] is here multiplicative, which means that the relations are non linear and the extended Kalman filter must be used. The sensor is accurate at medium frequencies, at a time scale where the friction and tire characteristics k, δ are unchanged. The second sensor signal from an accelerometer in longitudinal direction a_(x) is described by:

y ₂(t)={dot over (v)}( t)+b ₂ +e ₂(t).   (25)

[0149] Summing up to time t gives: $\begin{matrix} {{{\overset{\_}{y}}_{2}(t)} = {{\sum\limits_{k = 0}^{t}\quad {y_{2}(t)}} = {{v_{x}(t)} - {v_{x}(0)} + {b_{2}t} + {{\overset{\_}{e}}_{2}(t)}}}} & (26) \end{matrix}$

[0150] The offset scalings (l and t) are linearly independent if the traction force=μ(t) does not increase linearly in time, so the offsets b₂, k, δ are observable. In this embodiment, offset and drift free velocity is computed from driven wheel speed and accelerometer with non-negligible offset for instance to be used in 4WD vehicles when free-rolling wheels are not available. It also has a fast response to longitudinal velocity changes during skid, i.e. spin or brake. Furthermore, the embodiment is advantageously used for diagnosis of accelerometer. The system estimates the slip slope in a friction model which is also used to estimate tire-road friction.

[0151] In a stepwise description of the embodiment for velocity computation the inventive method comprises the following steps:

[0152] (1) Collection of measurements from

[0153] (a) a longitudinal accelerometer

[0154] (b) ABS Sensors

[0155] (c) possibly a yaw rate gyro

[0156] (2) Preprocessing and filtering of raw sensordata

[0157] 1 Scaling of sensor inputs to physical constants

[0158] 2 Low-pass filtering of longitudinal acceleration measurement to reduce quantization and noise error effects for instance averaging over a few samples.

[0159] 3 Rotational synchronization of cog stamps to avoid cog deformity error effects i.e. calculate wheel angular velocity by using a full revolution of the wheel.

[0160] 4 Perform simple diagnosis on sensors to take care of sensor built-in diagnosis functions for instance sensors using a zero level voltage to indicate internal failure.

[0161] (3) Calculation of filter inputs and parameters in error model

[0162] 1 Calculate the vehicle velocity estimate from ABS sensors (Page 8-Eq 11)

[0163] 2 Calculate the parameters in the error model (Page 12-Eq 23)

[0164] 3 Calculate current matrices for the extended Kalman Filter (F, G, H, Q)

[0165] (4) Examine data quality by given norms to produce statistical matrices for Kalman Filtering, for instance:     1 Low velocity increases noise in velocity measurement     from ABS sensors       if (velocity_estimate < LOW_LEVEL)         Increase values in Kalman measurement covariance matrix R     2 Standstill car assures velocity to be exactly zero       if (velocity_estimate == ABSOLUTE_ZERO)         Decrease values in Kalman measurement covariance matrix R

[0166] (5) Applying the Kalman Filter equations for the extended Kalman Filter

[0167] 1 Time update of Kalman Filter

xhat=F*xhat;

Phat=F*Phat*F′+G*Q*G′;

[0168] 2 Measurement update of Kalman Filter

K=Phat*H′*inv(H*Phat*H′+R);

e=y−H*xhat;

xhat=xhat+K*e;

Phat=Phat−K*H*Phat′;

Phat=0.5*(Phat+Phat′);

[0169] Where xhat is the current state estimate and Phat is the current Kalman error covariance matrix, y is current measurement, H is measurement matrix, F is state space model update matrix and G is noise update matrix.

[0170] (6) Output of velocity and offset estimates

[0171] 1 Provide a velocity estimate for control systems and MMI.

[0172] 2 Provide wheel slips for 4WD vehicles

[0173] 3 Provide the accelerometer offset estimate to be used in diagnosis functions.

[0174] Fuel Level and Fuel Consumption Sensor

[0175] An embodiment of the invention is directed to computation of fuel level and fuel consumption. This embodiment is schematically shown in FIG. 2C and takes as an input a fuel volume signal 224 from the tank meter of the vehicle and a fuel injection signal 226 from the engine. The basic equations are again similar to those described above, however the sensor signals are modelled according to the following equations.

[0176] Firstly, the tank level measurement is:

y ₁(t)=V(t)+b ₁ +e ₁(t)   (27)

[0177] This type of sensor usually suffers from medium-frequency disturbances in the noise component e1(t), which is normally handled with a very slow low-pass filter. On the other hand, low-frequency accuracy in the time constant of one re-fuelling is good. The offset depends inter alia on manufacturing variations and temperature.

[0178] Secondly, a fuel injection signal tq or the like is transformed to a momentary fuel consumption signal described as:

y ₂(t)={dot over (V)}( t)+b₂ +e ₂(t)   (28)

[0179] This sensor is very good at high frequencies, basically since it measures derivatives.

[0180] Summing up to time t gives: $\begin{matrix} {{{\overset{\_}{y}}_{2}(t)} = {{\sum\limits_{k = 0}^{t}\quad {y_{2}(t)}} = {{V(t)} - {V(0)} + {b_{2}t} + {{\overset{\_}{e}}_{2}(t)}}}} & (29) \end{matrix}$

[0181] The offset scalings 1 and t are linearly independent and therefore the offsets are observable.

[0182] This in effect virtual sensor has the advantages of fast response after re-fuelling, is an offset free monitor of momentary as well as average values of fuel consumption, and is suitable to use for diagnosis of faults in fuel pipes and engine efficiency.

[0183] In a stepwise description of the embodiment for fuel consumption, the inventive method comprises the following steps:

[0184] (1) Collection of measurements from

[0185] (a) a tank level measurement device

[0186] (b) fuel injection signal

[0187] (2) Preprocessing and filtering of raw sensordata

[0188] 1 Scaling of sensor inputs to physical constants

[0189] 2 Low-pass filtering of fuel injection measurement to reduce quantization and noise error effects for instance averaging over a few samples.

[0190] 3 Perform simple diagnosis on sensors to take care of sensor built-in diagnosis functions for instance sensors using a zero level voltage to indicate internal failure.

[0191] (3) Calculation of filter inputs and parameters in error model

[0192] 1 Calculate the tank fuel level estimate from fuel level sensor

[0193] 2 Calculate the fuel consumption from fuel injection signal

[0194] (4) Examine data quality by given norms to produce statistical matrices for Kalman Filtering, for instance:

[0195] 1 High load on engine gives unreliable consumption results, increase part of R

[0196] (5) Applying the Kalman Filter equations

[0197] 1 Time update of Kalman Filter

xhat=F*xhat;

Phat=F*Phat*F′+G*Q*G′;

[0198] 2 Measurement update of Kalman Filter

K=Phat*H′*inv(H*Phat*H′+R);

e=y−H*xhat;

xhat=xhat+K*e;

Phat=Phat−K*H*Phat′;

Phat=0.5*(Phat+Phat′);

[0199] Where xhat is the current state estimate and Phat is the current Kalman error covariance matrix, y is current measurement, H is measurement matrix, F is state space model update matrix and G is noise update matrix.

[0200] (6) Output of fuel level fuel consumption and offset estimates

[0201] 1 Provide fuel level for MMI systems.

[0202] 2 Provide fuel consumption level for control systems and MMI systems

[0203] Virtual Sensor for an Absolute Velocity Indicator

[0204] One embodiment of the invention is applied in velocity computation, or more generally expressed longitudinal motion computation based on standard sensors of a vehicle. In accordance with a variety of this embodiment, a sensor signal from an accelerometer a_(x) is integrated with a wheel angular velocity signal ω (for example from an ABS unit) in a sensor signal integration unit. The sensor signal integration unit comprises, as explained above, a filtering process, and outputs a computed velocity signal v_(x) and a computed acceleration signal a_(x). As described above, an accelerometer sensing acceleration in the horizontal plane is preferably combined with a vertical accelerometer for compensation for vertical motion. Since this embodiment uses an accelerometer as a complement to the wheel speed signals, the velocity can be computed also after locking the wheels when braking.

[0205] Wheel angular speed signals ω are received from an ABS and are transformed to scaled velocities at selected positions in the car. The first sensor signal from the ABS is described by $\begin{matrix} {{y_{1}(t)} = {{{v_{x}(t)}\frac{1 + {k^{- 1}{\mu (t)}} + \delta}{r}} + {e_{1}(t)}}} & (30) \end{matrix}$

[0206] where y₁ is the angular velocity of a driving wheel, v_(x) is the absolute velocity of the wheel, r is the wheel radius, k is the longitudinal stiffness, δ is the slip offset, μ is the normalized traction force, and e₁ is measurement noise. The offset $\frac{1 + {k^{- 1}{\mu (t)}} + \delta}{r}$

[0207] (31 )is here multiplicative, which means that the relations are non-linear and a non-linear observer or the extended Kalman filter must be used. The sensor is accurate at medium frequencies, at a time scale where the friction and tire characteristics, k and δ are unchanged.

[0208] The second sensor signal from an accelerometer in longitudinal direction a_(x) is described by

y ₂(t)={dot over (v)} _(x)(t)+b ₂ +e ₂(t).

[0209] Summing up this equation to time t gives $\begin{matrix} {{{\overset{\_}{y}}_{2}(t)} = {{\sum\limits_{k = 0}^{t}\quad {y_{2}(t)}} = {{v_{x}(t)} - {v_{x}(0)} + {b_{2}t} + {{\overset{\_}{e}}_{2}(t)}}}} & (33) \end{matrix}$

[0210] The offset scalings (l and t) are linearly independent if the normalized traction force μ(t) does not increase linearly in time, so the offsets b₂, k, δ are observable.

[0211] In this embodiment, offset and drift free velocity is computed from driven wheel speed and accelerometer with non-negligible offset for instance to be used in 4WD vehicles when free-rolling wheels are not available. It also has a fast response to longitudinal velocity changes during skid, i.e. spin or brake. Furthermore, the embodiment is advantageously used for diagnosis of the accelerometer. The system estimates the slip slope in a friction model which is also used to estimate tire-road friction.

[0212] In a stepwise description of the embodiment for velocity computation, the inventive method comprises the following steps:

[0213] (1) Collection of measurements from:

[0214] (a) a longitudinal accelerometer

[0215] (b) ABS Sensors

[0216] (c) possibly a yaw rate gyro

[0217] (2) Preprocessing and filtering of raw sensordata:

[0218] Scaling of sensor inputs to physical constants

[0219] Low-pass filtering of longitudinal acceleration measurement to reduce quantization and noise error effects for instance averaging over a few samples.

[0220] Rotational synchronization of cog stamps to avoid cog deformity error effects, i.e.. calculate wheel angular velocity by using a full revolution of the wheel.

[0221] Perform simple diagnosis on sensors to take care of sensor built-in diagnosis functions for instance sensors using a zero level voltage to indicate internal failure.

[0222] (3) Calculation of filter inputs and parameters in error model:

[0223] Calculate the vehicle velocity estimate from ABS sensors

[0224] Calculate the parameters in the error model

[0225] Calculate current matrices for the extended Kalman Filter (F, G, H, Q)

[0226] (4) Examine data quality by given norms to produce statistical matrices for Kalman Filtering, for instance:

[0227] Low velocity increases noise in velocity measurement from ABS sensors

[0228] if (velocity_estimate<LOW_LEVEL)

[0229] Increase values in Kalman measurement covariance matrix R

[0230] Standstill car assures velocity to be exactly zero

[0231] if (velocity_estimate==ABSOLUTE_ZERO)

[0232] Decrease values in Kalman measurement covariance matrix R

[0233] (5) Applying the Kalman filter equations for the extended Kalman filter:

[0234] (a) Time update

{circumflex over (x)} _(k) =F _(k) {circumflex over (x)} _(k−1)

P _(k) =F _(k) P _(k−1) F _(k) ^(T) +G _(k) Q _(k) G _(k) ^(T)   (33)

[0235] (b) Measurement update

K=P _(k) H _(k) ^(T)(H _(k) P _(k) H _(k) ^(T) +R _(k))⁻¹

ε_(k) =y _(k) −H _(k) {circumflex over (x)} _(k)

{circumflex over (x)} _(k) ={circumflex over (x_(k)+Kε_(k) )}

P _(k) =P _(k) −KH _(k) P _(k) ^(T)   (34)

[0236] Where {circumflex over (x)}_(k) is the current state estimate, P_(k) is the current state error covariance matrix, and y_(k) is current measurement. The state space matrices F_(k), G_(k) and H_(k) are obtained by linearizing the non-linear state space model around the current state estimate {circumflex over (x)}_(k). The results and uses of velocity and offset estimates in accordance with this embodiment are for example to provide a velocity estimate for control systems and MMI (man machine interface), to provide wheel slip indications or estimates for 4WD vehicles, and to provide an accelerometer offset estimate to be used in diagnosis functions.

[0237] Sensor for a Roll Angel Indicator

[0238] An embodiment of the invention being applicable for a virtual sensor as well as for an autocalibrating sensor is directed to achieve a roll angle indicator. By way of example, the described embodiment uses a lateral and a vertical accelerometer, a yaw rate gyro and a velocity estimate. The measurement from the lateral accelerometer is denoted a_(y) and from the vertical accelerometer a_(z). The required velocity is in this example provided by the ABS by rescaling the angular velocity with the wheel radius.

[0239] A common problem with accelerometers is a temperature dependent sensor offset. This invention provides an alternative to the costly solution of calibrating all sensors during production also entailing that an additional temperature sensor is required on each motorcycle. An embodiment of the invention is adapted to estimate and compensate for the sensor offsets automatically during driving.

[0240] Accelerometers and gyros typically deliver a continuous time signal. In order to use this signal in a discrete time system this signal must be sampled using a suitable sampling rate. Alias effects are avoided by using an anti alias filter (LP-filter) before the sampling. Outliers deteriorates the performance of the system and are removed before the sensor fusion stage. The sensor fusion is performed using an adaptive filter, preferrably a Kalman filter.

[0241] Models describing the accelerometers are derived using mechanical engineeringe. The general expressions for an ideal lateral and an ideal vertical accelerometer moving in a field of gravity are:

a _(By) ={dot over (v)}+u{dot over (ψ)}−w{dot over (φ)}+x{umlaut over (ψ)}−z{umlaut over (φ)}+x{dot over (φθ)}−y({dot over (φ)}²+{dot over (ψ)}²)+z{dot over (θψ)}g sin Φ cos Θ

a _(Bz) ={dot over (w)}+v{dot over (φ)}−u{dot over (θ)}+y{umlaut over (φ)}−x{umlaut over (θ)}+x{dot over (φψ)}+y{dot over (θψ)}−z({dot over (φ)}²+{dot over (θ)}²)+g cos Φ cos Θ  (35)

[0242] with notation for a motorcycle in accordance with the illustration of coordinate systems in FIG. 5A, the sensor configuration in FIG. 5B and according to the following. Symbol Meaning u Longitudinal velocity {dot over (u)} Longitudinal acceleration v Lateral velocity {dot over (v)} Lateral acceleration w Vertical velocity {dot over (w)} Vertical acceleration Φ Roll angle {dot over (ψ)} Angular velocity around local axle {circumflex over (x)} {umlaut over (ψ)} Angular acceleration around local axle {circumflex over (x)} Θ Pitch angle {dot over (θ)} Angular velocity around local axle ŷ {umlaut over (θ)} Angular acceleration around local axle ŷ {dot over (Ψ)} Angular velocity around local axle {circumflex over (z)} {umlaut over (Ψ)} Angular acceleration around local axle {circumflex over (z)} x Position of sensor in coordinate axle {circumflex over (x)} y Position of sensor in coordinate axle ŷ z Position of sensor in coordinate axle {circumflex over (z)} g Gravity (g ≈ 9.81 [m/s²])

[0243] For a motorcycle is the lateral velocity v and vertical velocity w approximately zero during normal driving. The expressions are further simplified if the location of the accelerometers are chosen to x=0, y=0 and z=z_(x).

[0244] The sensor models are simplified to

a _(By) =u{dot over (ψ)}−z _(x) {umlaut over (ψ)}+z _(x) θψ+g sin Φ cos Θ

a _(Bz) =−u{dot over (θ)}−z _(x)({dot over (φ)}²+{dot over (θ)}²)+g cos Φ cos Θ  (36)

[0245] If Θ is assumed to be constant equal to zero are $\left\{ \begin{matrix} {\overset{.}{\theta} = {\overset{.}{\psi}{\tan \Phi}}} \\ {\overset{.}{\Phi} = \overset{.}{\phi}} \end{matrix}\quad \right.$

[0246] It is now obvious that the local roll rate is is equal to the global roll rate {dot over (Φ)} and also that {dot over (θ)} can be eliminated from the accelerometer models.

a _(By) =u{dot over (ψ)}−z _(x)({umlaut over (φ)}+{dot over (ψ)}² tan Φ)+g sin Φ

a _(Bz) =−u{dot over (ψ)} tan Φ−z _(x)({dot over (φ)}²+{dot over (ψ)}² tan² Φ)+g cos Φ

[0247] The first term in the expressions, u{dot over (ψ)} or u{dot over (ψ)} tan Φ, is important for modelling high velocity turns. The increased normal force on the motorcycle from the ground is explained by this term. The second term depends on the location of the sensor in {circumflex over (z )}and the third is the influence from gravity. Unfortunately there are two allowed solutions to these two expressions. In order to improve the system is one more interpretation of the lateral measurement required. This interpretation is made using necessary conditions to achieve state of equilibrium in steady state turning.

[0248] Using Newtons equations is the following expression derived ${g\quad \cos \quad \Theta \quad \sin \quad \Phi_{G}} = {{{- \frac{u\quad \overset{.}{\psi}}{{mz}_{\tau}}}\left( {\frac{I_{f}}{r_{f}} + \frac{l_{r}}{r_{r}}} \right)} - \quad {u\quad \overset{.}{\psi}} + {\alpha_{1}^{\prime}\overset{¨}{\phi}} + {\alpha_{2}^{\prime}\quad \overset{.}{\theta}\quad \overset{.}{\psi}}}$

Symbol Meaning m Total mass, driver + motorcycle + load I_(f) Moment of inertia front wheel I_(r) Moment of inertia rear wheel r_(f) Wheel radius front wheel r_(r) Wheel radius rear wheel α₁^(′)

Parameter dependent on MC geometry α₂^(′)

Parameter dependent on MC geometry z_(τ) Distance ground to center of mass Θ Tilt Φ_(G) Roll angle to the CoM driver + MC

[0249] Introduce the parameter $K = {\frac{1}{m}\left( {\frac{I_{f}}{z_{f\quad \tau}r_{f}} + \frac{I_{r}}{z_{r\quad \tau}r_{r}}} \right)}$

[0250] which describes the physical properties of the particular type of motorcycle. Assuming Φ_(G)=Φ results in

g cos Θ sin Φ=−u{dot over (ψK−)}u{dot over (ψ)}+α ₁′{umlaut over (φ)}+α₂′{dot over (θψ)}

[0251] Assume constant pitch angle {dot over (Θ)}=0 and use {dot over (θ)}={dot over (ψ)} tan Φ

g cos Θ sin Φ=−u{dot over (ψK−)}u{dot over (ψ)}×+α ₁′{umlaut over (φ)}+α₂′{dot over (ψ)}² tan Φ

[0252] Inserting this expression in the earlier derived expression for the lateral accelerometer yields

a _(By)=α₁{umlaut over (φ)}+α₂{dot over (ψ)}² tan Φ−u{dot over (ψ)}K

[0253] where the new variables α₁ and α₂ are constants describing the geometry of the motorcycle but are not equal to α₁′ and α₂′.

[0254] There are now one model for the vertical and two models for the lateral accelerometer available.

a _(By) =u{dot over (ψ)}−z _(x) {umlaut over (φ)}+z _(x){dot over (ψ)}² tan Φ+g sin Φ

a _(Bz) =−u{dot over (ψ)} tan Φ− z _(x)({dot over (φ)}²+{dot over (ψ)}² tan ² Φ)+g cos Φ

a _(By)=α₁{umlaut over (φ)}+α₂{dot over (ψ)}² tan Φ−u{dot over (ψ)}K

[0255] A rate gyro model follows from that the rate gyro is attached in the longitudinal direction {circumflex over (x)}and measures ideally the roll angle derivative or gyro={dot over (φ)}. There are now one sensor model for the ideal vertical acceleromter, two models for the ideal lateral acceleromter and one model for the ideal rate gyro. An improved model is achieved if the model is extended with additive sensor offsets:

a _(By) =u{dot over (ψ)}−z _(x) {umlaut over (φ)}+z _(x){dot over (ψ)}² tan Φ+g sin Φ+δ_(y)

a _(Bz) =−u{dot over (ψ)} tan Φ− z _(x)({dot over (φ)}²+{dot over (ψ)}² tan² Φ)+g cos Φ+δ_(z)

a _(By)=α₁{umlaut over (φ)}+α₂{dot over (ψ)}² tan Φ−u{dot over (ψ)}K+δ _(y)

gyro={dot over (φ)}+δ_(gyro)

[0256] where the notation is as presented earlier and Notation Meaning δ_(y) Sensor offset lateral accelerometer δ_(z) Sensor offset vertical accelerometer δ_(gyro) Sensor offset gyro

[0257] The adaptive filter is in this embodiment implemented by means of an extended Kalman filter. A continuous time state space model is derived and is then transformed to a discrete time state space model using per se known theory from linear systems and sampled systems. The continuous time state space model for the system is

{dot over (x)}=Ax+Bw

z=h(x)+v

[0258] The state vector x consists of seven elements x=(x₁ x₂ x₃ x₄ x₅ x₆ x₇)^(T), wherein:

[0259] x₁=φ=Rotation around {circumflex over (x)}

[0260] x₂={dot over (φ)}=Angular velocity around {circumflex over (x)}

[0261] x₃={umlaut over (φ)}=Angular acceleration around {circumflex over (x)}

[0262] x₄={dot over (ψ)}=Angular velocity around {circumflex over (z)}

[0263] x₅=δ_(y)=Accelerometer offset lateral accelerometer

[0264] x₆=δ_(z)=Accelerometer offset vertical accelerometer

[0265] x₇=δ_(gyro)=Gyro offset. ${\overset{.}{x}(t)} = {{\underset{A}{\underset{}{\begin{pmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 \end{pmatrix}}}{x(t)}} + {\underset{B}{\underset{}{\begin{pmatrix} 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \end{pmatrix}}}{w(t)}}}$ ${z(t)} = {\underset{h{({x{(t)}})}}{\underset{}{\begin{pmatrix} {{{u(t)}x_{4}} - {z_{s}x_{3}} + {z_{s}x_{4}^{2}\tan \quad x_{1}} + {g\quad \sin \quad x_{1}} + x_{5}} \\ {{{- {u(t)}}x_{4}\tan \quad x_{1}} - {z_{s}\left( {x_{2}^{2} + {x_{4}^{2}\tan^{2}x_{1}}} \right)} + {g\quad \cos \quad x_{1}} + x_{6}} \\ {{\alpha_{1}x_{3}} + {\alpha_{2}x_{4}^{2}\tan \quad x_{1}} - {{u(t)}x_{4}K} + x_{5}} \\ {x_{2} + x_{7}} \end{pmatrix}}} + {v(t)}}$

[0266] The discrete time Kalman filter is written

x _(k+1) =Fx _(k) +Gw _(k)

z _(k) =h(x _(k))+v _(k)

[0267] Where T is the sampling time. Derivation of F and G from A and B is straightforward according to the theory for sampled systems. $x_{k + 1} = {{\underset{F}{\underset{}{\begin{pmatrix} 1 & T & {T^{2}/2} & 0 & 0 & 0 & 0 \\ 0 & 1 & T & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{pmatrix}}}x_{k}} + {\underset{G}{\underset{}{\begin{pmatrix} {T^{3}/6} & 0 & 0 & 0 & 0 \\ {T^{2}/2} & 0 & 0 & 0 & 0 \\ T & 0 & 0 & 0 & 0 \\ 0 & T & 0 & 0 & 0 \\ 0 & 0 & T & 0 & 0 \\ 0 & 0 & 0 & T & 0 \\ 0 & 0 & 0 & 0 & T \end{pmatrix}}}w_{k}}}$ $z_{k} = {\underset{h{({x{(t)}})}}{\underset{}{\begin{pmatrix} {{u_{k}x_{4}} - {z_{s}x_{3}} + {z_{s}x_{4}^{2}\tan \quad x_{1}} + {g\quad \sin \quad x_{1}} + x_{5}} \\ {{{- u_{k}}x_{4}\tan \quad x_{1}} - {z_{s}\left( {x_{2}^{2} + {x_{4}^{2}\tan^{2}x_{1}}} \right)} + {g\quad \cos \quad x_{1}} + x_{6}} \\ {{\alpha_{1}x_{3}} + {\alpha_{2}x_{4}^{2}\tan \quad x_{1}} - {u_{k}x_{4}K} + x_{5}} \\ {x_{2} + x_{7}} \end{pmatrix}}} + v_{k}}$

[0268] Writing the discrete time signal model z=h(x), the extended Kalman filter is applied as follows.

x _(k+1) =f(x _(k))+g(x _(k))w _(k),

z _(k) =h(x _(k))+v _(k)

[0269] Here f, g and h are nonlinear functions of the states x_(k). Define the matrices F, G and H according to: $F_{k} = {\left. \frac{\partial{f_{k}(x)}}{\partial x} \middle| {}_{x = {\hat{x}}_{k/k}}H_{k}^{\prime} \right. = \left. \frac{\partial{h_{k}(x)}}{\partial x} \right|_{x = {\hat{x}}_{{k/k} - 1}}}$

G _(k) =g _(k)({circumflex over (x)} _(k/k))

[0270] The linearized signal model be written as

x _(k+1) =F _(k) x _(k) +G _(k) w _(k) +u _(k)

z _(k) =H _(k) ′x _(k) +v _(k) +y _(k)

[0271] where

u _(k) =f _(k)({circumflex over (x)} _(k/k))−F _(k) {circumflex over (x)} _(k/k)

y _(k) =h _(k)({circumflex over (x)} _(k/k−1))−H _(k) ′{circumflex over (x)} _(k/k−1)

[0272] and

E[w _(k) w _(l) ′]=Qδ _(k1)

E[v _(k) v _(l) ′]=Rδ _(k1)

[0273] The extended Kalman filter equations are then

{circumflex over (x)} _(k/k) ={circumflex over (x)} _(k/k−1) +L _(k) [z _(k) −h _(k)({circumflex over (x)}_(k/k−1))]

{circumflex over (x)} _(k+1/k) =f _(k)({circumflex over (x)} _(k/k))

L _(k)=Σ_(k/k−1) H _(k)Ω_(k) ⁻¹

Ω_(k) =H _(k)′Σ_(k/k−1) H _(k) +R _(k)

Σ_(k/k)=Σ_(k/k−1)−Σ_(k/k−1) H _(k) [H _(k)′Σ_(k/k−1) H _(k) +R _(k)]⁻¹ H _(k)′ Σ_(k/k−1)

Σ_(k+1/k) =F _(k) Σ_(k/k) F _(k) ′+G _(k) Q _(k) G _(k)′

[0274] Initialisation is provided by: Σ_(0/−1)=P₀,x_(0/−1)={circumflex over (x)}₀.

[0275] The necessary matrices for the roll angle estimation problem using two accelerometers the velocity of the motorcycle and an extended Kalman filter are: ${{F_{k} = \frac{\partial{f_{k}(x)}}{\partial x}}}_{x = {\hat{x}}_{k/k}} = {\begin{pmatrix} 1 & T & {T^{2}/2} & 0 & 0 & 0 & 0 \\ 0 & 1 & T & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{pmatrix} = F}$ $G_{k} = {{g_{k}\left( {\hat{x}}_{k/k} \right)} = \begin{pmatrix} {T^{3}/6} & 0 & 0 & 0 & 0 \\ {T^{2}/2} & 0 & 0 & 0 & 0 \\ T & 0 & 0 & 0 & 0 \\ 0 & T & 0 & 0 & 0 \\ 0 & 0 & T & 0 & 0 \\ 0 & 0 & 0 & T & 0 \\ 0 & 0 & 0 & 0 & T \end{pmatrix}}$ $H_{k}^{\prime} = {\frac{\partial{h_{k}(x)}}{\partial x}{_{x = {\hat{x}}_{k - 1}}{= \begin{pmatrix} {{z_{s}{x_{4}^{2}\left( {1 + {\tan^{2}x_{1}}} \right)}} + {g\quad \cos \quad x_{1}}} & 0 & {- z_{s}} & {u_{k} + {2z_{s}x_{4}\tan \quad x_{1}}} & 1 & 0 & 0 \\ {{{- u_{k}}{x_{4}\left( {1 + {\tan^{2}x_{1}}} \right)}} - {2z_{s}x_{4}^{2}\tan \quad {x_{1}\left( {1 + {\tan^{2}x_{1}}} \right)}} - {\sin \quad x_{1}}} & {{- 2}z_{s}x_{2}} & 0 & {{{- u}\quad \tan \quad x_{1}} - {2z_{s}x_{4}\tan^{2}x_{1}}} & 0 & 1 & 0 \\ {\alpha_{2}{x_{4}^{2}\left( {1 + {\tan^{2}x_{1}}} \right)}} & 0 & \alpha_{1} & {{2\alpha_{2}x_{4}\tan \quad x_{1}} - {uK}} & 1 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 & 0 & 1 \end{pmatrix}}}}$

[0276] All that remains in order to run the algorithm is the initialization. {circumflex over (x)}₀ is chosen to suitable values and the matrix P₀ reflects the uncertainty of {circumflex over (x)}₀. One choice is

{circumflex over (x)}₀=(0 0 0 0 0 0 0)^(T) $P_{0} = \begin{pmatrix} 0.05 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0.01 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0.01 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0.01 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{pmatrix}$

[0277] The described mathematical expressions are employed for example in a virtual sensor as shown in FIG. 6, taking as an input a selection of yaw signal from gyro, lateral acceleration signal ay, vertical acceleration signal az and wheel angular velocity signal ωf. The sensor signals are preferably preprocessed by being low pass filtered in stage 602, sampled in stage 604. low pass filtered in stage 606 and data reduced in stage 608. The angular velocity signal is preferably also rescaled in stage 610. The thus preprocessed sensor signals are the input into an adaptive filter 612 based on a model in accordance with the previous description. The output of the filter are values or signals for a roll angle, sensor offsets and yaw rate.

[0278] Virtual Sensor for Fuel Level and Fuel Consumption

[0279] One embodiment of the invention is directed to computation of fuel level and fuel consumption. This embodiment takes as an input a fuel volume signal from the tank meter of the vehicle, and a fuel injection signal from the engine. The basic equations are again similar to those described in earlier sections, however the sensor signals are modelled according to the following equations.

[0280] Firstly, the tank level measurement is:

y ₁(t)=V(t)+b ₁ +e ₁(t)

[0281] This type of sensor usually suffers from medium frequency disturbances in the noise component e₁ which is normally handled with a very slow low-pass filter. On the other hand, low-frequency accuracy in the time constant of one re-fuelling is good. The offset depends inter alia on manufacturing variations and temperature.

[0282] Secondly, a fuel injection signal tq or the like is transformed to a momentary fuel consumption signal described as

y ₂(t)={dot over (V)}(t)+b ₂ +e ₂(t)

[0283] This sensor is very good at high frequencies, basically since it measures derivatives. Summing up y₂ to time t gives: ${{\overset{\_}{y}}_{2}(t)} = {{\sum\limits_{k = 0}^{t}\quad {y_{2}(t)}} = {{V(t)} - {V(0)} + {b_{2}t} + {{\overset{\_}{e}}_{2}(t)}}}$

[0284] The offset scalings 1 and t are linearly independent and therefore the offsets are observable.

[0285] This in effect virtual sensor has the advantages of fast response after re-fuelling, is an offset free monitor of momentary as well as average values of fuel consumption, and is suitable to use for diagnosis of faults in fuel pipes and engine efficiency.

[0286] In a stepwise description of the embodiment for fuel consumption, the inventive method comprises the following steps:

[0287] 1. Collection of measurements from:

[0288] (a) a tank level measurement device;

[0289] (b) a fuel injection signal

[0290] 2. Preprocessing and filtering of raw sensor data:

[0291] (a) Scaling of sensor inputs to physical constants

[0292] (b) Low-pass filtering of fuel injection measurement to reduce quantization and noise error effects for instance averaging over a few samples.

[0293] (c) Perform simple diagnosis on sensors to take care of sensor built-in diagnosis functions for instance sensors using a zero level voltage to indicate internal failure.

[0294] 3. Calculation of filter inputs and parameters in error model:

[0295] (a) Calculate the tank fuel level estimate from fuel level sensor

[0296] (b) Calculate the fuel consumption from fuel injection signal

[0297] 4. Examine data quality by given norms to produce statistical matrices for Kalman Filtering, for instance:

[0298] (a) High load on engine gives unreliable consumption results, increase part of R

[0299] 5. Applying the Kalman Filter equations

[0300] (a) Time update of Kalman Filter

{circumflex over (x)}=F _(k) {circumflex over (x)} _(k−1)

P _(k) =F _(k) P _(k−1) F _(k) ^(T) +G _(k) Q _(k) G _(k) ^(T)

[0301] (b) Measurement update of Kalman Filter

K=P _(k) H _(k) ^(T)(H _(k) P _(k) H _(k) ^(T) +R _(k))⁻¹

ε_(k) =y _(k) −H _(k) {circumflex over (x)} _(k)

{circumflex over (x)} _(k) ={circumflex over (x)} _(k) +Kε _(k)

P _(k) =P _(k) −KH _(k) P _(k) ^(T)

[0302] where {circumflex over (x)}_(k) is the. The state space matrices F_(k), G_(k) and H_(k) are obtained by linearizing the non current state estimate, P_(k) is the current state error covariance matrix, and y_(k) is the current measurement—linear state space model around the current state estimate {circumflex over (x)}_(k).

[0303] 6. Output of fuel level fuel consumption and offset estimates

[0304] (a) Provide fuel level for MMI systems.

[0305] (b) Provide fuel consumption level for control systems and MMI systems

[0306] Virtual Sensor for Aqua Planning Detection

[0307] One embodiment of the invention is directed to automatic aqua planning detection (APD) based on the following principles. The measured signals and computed quantities that are utilized by the virtual sensor APD are summarized shown in FIG. 7 and the following table. Symbol Description ω_(d) Angular velocity, driven wheel [rad/s] ω_(n) Angular velocity, non-driven wheel [rad/s] r_(d) Wheel radius, driven wheel [m] r_(n) Wheel radius, non-driven wheel [m] T_(e) Engine torque [Nm] i Gearing ratio from engine to driven wheels [−] N Normal force at driven wheel [N] s Wheel slip [−] μ Normalized traction force [−]

[0308]FIG. 8 shows a schematic view of the functional components in a variety of this embodiment, viz vehicle signals 802 are input into a precomputation or preprocessing stage 804. The precomputed output is the filtered in an adaptive filtering process stage 806 in accordance with the inventive concept producing output parameter signals that are subject to evaluation or used in a diagnosis in stage 808.

[0309] The virtual sensor APD detects aqua planning by monitoring the longitudinal stiffness k, which during normal driving conditions can be modeled as ${k = \frac{\mu}{s}},{where}$ $\mu = \frac{T_{e}i}{2\quad r_{d}N}$

[0310] is the normalized traction force and $s = {\frac{{\omega_{d}r_{d}} - {\omega_{n}r_{n}}}{\omega_{n}r_{n}} = {\frac{\omega_{d}r_{d}}{\omega_{n}r_{n}} - 1}}$

[0311] is the wheel slip. Here N is the tire normal force that depends on the mass, the vehicle geometry and the vehicle state (such as the current velocity and acceleration/retardation). In case of aqua planning, the lack of friction between the tire and the road gives rise to an increased wheel slip s if the traction force μ is maintained. Therefore, it is possible to detect aqua planning by monitoring sudden decreases in the estimated slope parameter k. In practice it is necessary to take into account that the wheel radii r_(d) and r_(n) are unknown. By introducing δ as the relative difference in wheel radii, i.e., ${\delta = \frac{r_{n} - r_{d}}{r_{n}}},$

[0312] and approximating the wheel slip as ${\delta = \frac{r_{n} - r_{d}}{r_{n}}},$

[0313] and approximating the wheel slip as ${s_{m} = {\frac{\omega_{d}}{\omega_{n}} - 1}},$

[0314] obtains the model ${s_{m} \approx {s + \delta}} = {{\frac{1}{k}\mu} + {\delta.}}$

[0315] The parameters in this model, 1/k and δ, are estimated from measured slip s_(m) and traction force μ using an adaptive filter, such as a recursive least squares algorithm or a Kalman filter and the state space model

x _(1+l) =x ₁ +w ₁,

s _(m,i) =H ₁ x ₁ +e ₁,

[0316] where x₁=(1/k δ)^(T), H₁=(μ, 1)^(T), and w_(r) and e_(r) are process and measurement noise respectively.

[0317] The invention has been described by means of exemplifying embodiments for different applications and it should be appreciated that several designs are possible within the inventive concept and as defined in the claims. 

1. A method for determining a physical parameter value (x) of a wheeled vehicle, comprising the steps of: receiving a first sensor signal (y1) that is dependent on a first physical parameter kind affecting a condition of the wheeled vehicle; receiving a second sensor signal (y2) that is dependent on a second physical parameter kind affecting a condition of the wheeled vehicle; recursively filtering said first and second sensor signal (y1,y2) by means of an adaptive filter based on a predetermined model of the condition of the wheeled vehicle, said model being dependent on said first physical parameter kind, on said second physical parameter kind and on the offset error (b1) for said first sensor signal; estimating the values of said first and second offset errors by means of said filter, said model further being dependent on the offset error (b2) for said second sensor signal and the dependence (c1, c2) of said first and second offset errors being incorporated in the model; determining in said filtering spatial information about said physical parameter (x) by means of said first and second sensor signals (y1,y2) and by means of a plurality of predetermined relations between measured values (y1(t),y2(t)) of said physical parameter (x) from said first and second sensor signals, said physical parameter value (x(t))and said first and second offset errors (c1(t)b1,c2(t)b2)of said first and second sensor signals (y1,y2); determining in said filtering temporal information about said physical parameter (x) by means of a number of time dependent measurements (y1(t),y2(t)) of said physical parameter (x) represented by said first and second sensor signals and by means of said predetermined relations; calculating, dependent on said spatial and temporal information, a physical parameter value signal (X) such that said first and second offset errors are compensated for and eliminated.
 2. The method of the preceding claim, wherein the model is based on relations between measured values (y(t)) of said physical parameter (x(t)) and offsets (b1,b2) for said first and second sensor signals corresponding to the algebraic expression y 1(t)=x(t)+c 1(t)b 1   (1) y 2(1)=x(t)+c 2(t)b 2,   (2) where y1(t) is a measurement of said physical parameter x(t) detected by means of a first sensor and represented by said first sensor signal having said first offset error b1 and a first offset scaling c1(t) according to a predetermined function of time; and where y2(t) is a measurement of said physical parameter x(t) detected by means of a second sensor and represented by said second sensor signal having said second offset error b2 and a second offset scaling c2(t) according to a predetermined function of time.
 3. The method of claim 1, wherein the model is based on relations between measured values (yi(t)) of said physical parameter (x(t)) and offsets (bi) for a number i of sensor signals corresponding to the algebraic expression yi(t)=x(t)+ci(t)bi,   (i) where yi(t) is a measurement of said physical parameter x(t) detected by means of a sensor number i and represented by a sensor signal having an offset error bi and an offset scaling ci(t) according to a predetermined function of time.
 4. The method of claim 1, further comprising the steps of the steps of: evaluating the observability of said physical parameter; updating offset estimates if a predetermined observability criterion is met.
 5. The method of claim 1, further comprising the steps of receiving a third sensor signal dependent on a third physical parameter kind affecting the condition of the wheeled vehicle and recursively filtering said third sensor signal together with said first and second sensor signals by means of said adaptive filter, which is based on a model that also is dependent on said third physical parameter and on the offset error for said third sensor signal.
 6. The method of claim 1, wherein said filter is based on a model that also is dependent on measurement noise in the sensor signals respectively and further comprises the step of calculating and eliminating the measurement noise of the calculated physical parameter value signal.
 7. The method of claim 1, wherein said filter is based on a recursive least means square algorithm (RLS).
 8. The method of claim 1, wherein said filter is based on a least means square algorithm (LMS).
 9. The method of claim 1, wherein said filter is based on a Kalman filter.
 10. The method of the preceding claim, wherein said Kalman filter is specified by means of a state space equation of the form: x(t+1)=Ax(t)+Bv(t) y(t)=Cx(t)+e(t) where the covariance matrices of v(t) and e(t) are denoted Q and R, respectively, and wherein the unknown quantities in a state vector x(t) are estimated by a recursion: {circumflex over (x)}( t+1)=A{circumflex over (x)}( t)+K(t; A,B,C,Q,R)(y(t)−C{circumflex over (x)}( t)) where the filter gain K(t;A,B,C,Q,R) is given by predetermined Kalman filter equations.
 11. The method of the preceding claim, wherein said Kalman filter incorporates a model for the variation of the true physical parameter value of the wheeled vehicle.
 12. The method of claim 1, further comprising the steps of:: examining the data quality according to predetermined rules; producing statistical matrices for Kalman filtering dependent on said rules.
 13. The method of the preceding claim, wherein said rules are: if (velocity estimate<LOW_LEVEL)→then increase values in Kalman measurement covariance matrix R and if (velocity estimate=ABSOLUTE_ZERO)→then decrease values in Kalman measurement covariance matrix R.
 14. The method according to claim 1, further comprising applying Kalman filter equations by means of the steps of: time updating the Kalman filter xhat=F*xhat; Phat=F*Phat*F′+G*Q*G′; measurement updating the Kalman filter K=Phat*H′*inv(H*Phat*H′+R); e=y−H*xhat; xhat=xhat+K*e; Phat=Phat−K*H*Phat′; Phat=0.5*(Phat+Phat′); where xhat is the current state estimate and Phat is the current Kalman error covariance matrix, y is the current measurement, H is measurement matrix, F is state space model update matrix and G is noise update matrix.
 15. The method of any of the preceding claims, further comprising pre-processing raw sensor data by scaling sample sensor signals to physical constants according to the model such that each physical constant is set equal to a nominal scale factor multiplied with the raw sensor data value minus a nominal sensor offset.
 16. The method of the preceding claim, further comprising pre-processing raw sensor data by low-pass filtering sensor signal values in order to reduce quantisation errors and noise errors.
 17. The method of claim 1, further comprising pre-processing raw sensor data by rotationally synchronising clock stamps from cog-wheels by calculating wheel angular velocity to avoid cog deformity error effects.
 18. The method of claim 1, further comprising the step of providing an offset estimate to said sensor signals for use in diagnosis functions.
 19. The method of claim 1, further being adapted for determining the yaw rate of said wheeled vehicle, wherein said first sensor signal is a yaw rate signal from a yaw rate gyro mounted in the wheeled vehicle; wherein said second sensor signals are angular wheel velocity signals from angular wheel velocity sensors mounted in the wheeled vehicle for sensing the angular velocity of the wheels respectively; wherein said model is dependent on said yaw rate signal, said angular wheel velocity signals, the offset error for the yaw rate signal and the offset errors for the angular wheel velocity signals; and wherein said delivered physical parameter value signal is a calculated yaw angle and a calculated yaw rate signal.
 20. The method of claim 19, further comprising the steps of receiving a third sensor signal dependent on a third physical parameter kind affecting the condition of the wheeled vehicle and recursively filtering said third sensor signal together with said first and second sensor signals by means of said adaptive filter, which is based on a model that also is dependent on said third physical parameter and on the offset error for said third sensor signal; wherein said third sensor signal is an acceleration signal from an accelerometer mounted in the wheeled vehicle for sensing a lateral acceleration and wherein said adaptive filter is based on a model that is also dependent on said lateral acceleration signal and on the offset error for said acceleration signal.
 21. The method of claim 19, further comprising the steps of calculating and eliminating measurement noise from the calculated yaw rate signal.
 22. The method of claim 19, wherein said Kalman filter incorporates a model for the variation of the true yaw rate of the wheeled vehicle.
 23. The method of claim 19, further comprising the steps of calculating offset errors for said angular wheel velocity signals and calculating the relative difference in wheel radii between right and left wheels dependent on said offset errors for wheel velocity signals.
 24. The method of claim 19, further comprising calculating filter input signals and parameters in an error model by the steps of: calculating an inverse curve radius estimate from front axle wheels of the wheeled vehicle; calculating an inverse curve radius estimate from rear axle wheels of the wheeled vehicle; calculating vehicle velocity estimate from the angular wheel velocity sensors; calculating yaw rate estimates from front and rear wheels; calculating an error propagation function for wheel radius offsets for a rear axle of the wheeled vehicle; calculating an error propagation function for wheel radius offsets for a front axle of the wheeled vehicle.
 25. The method of claim 19, further comprising the step of providing a fast yaw rate which is the current measured low-pass filtered yaw rate minus the estimated offset for use in time critical control systems.
 26. The method of claim 19, further comprising the step of providing a filtered yaw rate which is the current yaw rate state estimate of the Kalman filter.
 27. The method of claim 19, further comprising the step of providing relative wheel radii between left and right wheels on rear and front wheelage to be used in a tire pressure estimation system.
 28. The method of claim 19, further comprising the step of providing a yaw rate gyro offset estimate to be used in a diagnosis function.
 29. The method of claim 1, further adapted for determining longitudinal movement of said wheeled vehicle, wherein said first sensor signal is an acceleration signal from an accelerometer mounted in the wheeled vehicle; wherein said second sensor signals are angular wheel velocity signals from angular wheel velocity sensors mounted in the wheeled vehicle for sensing the angular velocity of the respective wheels; wherein said model is dependent on said acceleration signal, said angular wheeled velocity signals, the offset error for the acceleration signal and the offset errors for the angular wheel velocity signals; and wherein said delivered physical parameter value signal is a calculated longitudinal velocity signal and a calculated longitudinal acceleration signal.
 30. The method of claim 29, wherein the adaptive filter is an extended Kalman filter.
 31. The method of claim 29, further comprising the steps of: receiving a third sensor signal dependent on a third physical parameter kind affecting the condition of the wheeled vehicle and recursively filtering said third sensor signal together with said first and second sensor signals by means of said adaptive filter, which is based on a model that also is dependent on said third physical parameter and on the offset error for said third sensor signal; wherein said third sensor signal is a yaw rate signal for the wheeled vehicle and wherein said adaptive filter is based on a model that is dependent also on said yaw rate signal and on the offset error for said yaw rate sensor signal.
 32. The method of claim 29, further comprising calculation of filter input signals and parameters in an error model by the steps of: calculating a vehicle velocity estimate from angular vehicle velocity sensors; calculating the parameters in the error model; calculating current matrices for an extended Kalman filter (F,G,H,Q).
 33. The method of claim 29, further comprising the step of providing a velocity estimate for a control system and an MMI (Man Machine Interface).
 34. The method of claim 29, further comprising the step of providing wheel slip values.
 35. The method of claim 29, further comprising the step of providing an accelerometer offset estimate for use in a diagnosis function.
 36. The method of claim 1, further being adapted for determining fuel level and fuel consumption of said wheeled vehicle: wherein said first sensor signal is a fuel volume signal from a tank meter of the wheeled vehicle; wherein said second sensor signal is a fuel injection sensor signal from the engine of the wheeled vehicle; wherein in said model is dependent on said fuel volume signal, said fuel injection signal, the offset error for the fuel volume signal and the offset error for the fuel offset signal; and wherein said delivered physical parameter value signal is a calculated fuel level and a calculated fuel consumption signal.
 37. The method of claim 36, further comprising calculation of filter input signals and parameters in an error model by the steps of: calculating a fuel level estimate from the fuel level sensor signal; calculating the fuel consumption from the fuel injection signal.
 38. The method of claim 36, further comprising the steps of: examining the data quality according to the predetermined rules; using statistical matrices for Kalman filtering dependent on said rules.
 39. The method of claim 38, wherein said rules for examining the data quality is: if high load on engine then increase part of values in the Kalman measurement covariance matrix R.
 40. The method of claim 36, further comprising the step of providing the fuel level estimate for an MMI system (Man Machine Interface).
 41. The method of claim 36, further comprising the step of providing a fuel consumption estimate for a control system and an MMI system (Man Machine Interface).
 42. The method of claim 4, further comprising the step of using external information in the observability evaluation.
 43. The method of claim 4, further comprising the steps of: initializing the sensor and filter system; receiving as an input the next measurement or sample of said sensor signals; checking the observability of said physical parameter; if observability is met, then updating offset estimates; after updating of offset estimates or if observability is not met, then compensate sensor signal with the offset output from the adaptive filter.
 44. The method of claim 1, wherein analytical redundancy is arranged for the adaptive filter by generating a number of equations to process in said filter.
 45. An apparatus for calculating a physical parameter value of a wheeled vehicle, comprising: filtering means receiving as an input a first sensor signal (y1) that is dependent on a first physical parameter kind affecting a condition of the wheeled vehicle and second sensor signals (y1,y2) that is dependent on a second physical parameter kind affecting a condition of the wheeled vehicle, the filtering means being devised to recursively filtering said first and second sensor signal (y1,y2) by means of an adaptive filter based on a predetermined model of the condition of the wheeled vehicle, said model being dependent on said first physical parameter kind, on said second physical parameter kind and on the offset error for said first sensor signal, means for estimating the values of said first and second offset errors by means of said filter, said model further being dependent on the offset error (b2) for said second sensor signal and the dependence (c1,c2) of said first and second offset errors being incorporated in the model; means for determining in said filtering spatial information about said physical parameter (x) by means of said first and second sensor signals (y1,y2) and by means of a plurality of predetermined relations between measured values (y1(t),y2(t)) of said physical parameter (x) from said first and second sensor signals, said physical parameter value (x(t))and said first and second offset errors (c1(t)b1,c2(t)b2)of said first and second sensor signals (y1,y2); means for determining in said filtering temporal information about said physical parameter (x) by means of a number of time dependent measurements (y1(t),y2(t)) of said physical parameter (x) represented by said first and second sensor signals and by means of said predetermined relations; means for calculating, dependent on said spatial and temporal information, a physical parameter value signal (X) such that said first and second offset errors are compensated for and eliminated.
 46. The apparatus of the preceding claim, further comprising a processing unit (110,112,114,116,117) devised for performing said steps and functions.
 47. A computer program product for determining the physical parameter value of the wheeled vehicle by means of a data processing system, comprising means for controlling the data processing system to: receiving a first sensor signal (y1) that is dependent on a first physical parameter kind affecting a condition of the wheeled vehicle; receiving a second sensor signal (y2) that is dependent on a second physical parameter kind affecting a condition of the wheeled vehicle; recursively filtering said first and second sensor signal (y1,y2) by means of an adaptive filter based on a predetermined model of the condition of the wheeled vehicle, said model being dependent on said first physical parameter kind, on said second physical parameter kind and on the offset error (b1) for said first sensor signal, estimating the values of said first and second offset errors by means of said filter, said model further being dependent on the offset error (b2) for said second sensor signal and the dependence (c1,c2) of said first and second offset errors being incorporated in the model; determining in said filtering spatial information about said physical parameter (x) by means of said first and second sensor signals (y1,y2) and by means of a plurality of predetermined relations between measured values (y1(t),y2(t)) of said physical parameter (x) from said first and second sensor signals, said physical parameter value (x(t))and said first and second offset errors (c1(t)b1, c2(t)b2) of said first and second sensor signals (y1,y2); determining in said filtering temporal information about said physical parameter (x) by means of a number of time dependent measurements (y1(t),y2(t)) of said physical parameter (x) represented by said first and second sensor signals and by means of said predetermined relations; calculating, dependent on said spatial and temporal information, a physical parameter value signal (X) such that said first and second offset errors are compensated for and eliminated.
 48. A method for determining a physical parameter value (x) of a wheeled vehicle, comprising the steps of: processing a plurality of sensor signals (y1,y2) that depend on one or more physical parameters affecting a condition of the wheeled vehicle according to a predetermined model of the condition of the vehicle, wherein said model is dependent on each of said physical parameters and on the offset error (b1,b2) for each of said sensor signals; estimating values of said offset errors by means of a plurality of predetermined relations between measured values (y1(t),y2(t)) of said physical parameter (x) from said plurality of sensor signals (y1,y2), said physical parameter value (x(t)) and said offset errors (b1,b2) of said plurality of sensor signals (y1,y2) and by means of a number of time dependent measurements (y1(t),y2(t)) of said physical parameter (x) represented by said first and second sensor signals and by means of said predetermined relations; calculating one or more physical parameter value signals X from which said estimated offset error values are eliminated. 